package jk.spider.core.event.impl;

import jk.spider.core.SpiderController;
import jk.spider.core.event.CoreEventVisitor;
import jk.spider.model.Resource;

public class ResourceParsedOkEvent extends BaseCoreEventImpl {

	public ResourceParsedOkEvent(SpiderController controller, Resource resource) {
		super(controller, resource);
	}

	public void accept(Resource resource, CoreEventVisitor visitor) {
		visitor.visit(resource, this);
	}
	
	public String getUrl() {
		return resource.getUrl();
	}

}
